package net.stogi.dsper.api.service;

import java.util.List;

import net.stogi.common.api.exception.BusinessException;
import net.stogi.dsper.api.dto.DataObjectDto;
import net.stogi.dsper.api.dto.UserDto;
import net.stogi.dsper.api.dto.UserProfileDto;

public interface UserService {

	UserDto getUserByUsername(String username) throws BusinessException;

	List<DataObjectDto> listDataObjects(Long userId) throws BusinessException;

	List<UserProfileDto> listUserProfiles(Long userId) throws BusinessException;

	Long saveUserProfile(Long userId, UserProfileDto userProfileDto) throws BusinessException;
}
